{% extends "base_mobile.html" %}

{% block title %}
Competitors | CMAT 21
{% endblock title %}

{% block heading %}
  Competitors
{% endblock heading %}

{% block subtitle %}

{% endblock subtitle %}

{% block content %}
<ul data-role="listview" data-filter="true">
  {% for competitor in competitors %}
    <li><a href="/competitor/{{competitor.last_name}}/{{competitor.first_name}}">
      {{competitor.first_name|lower|capfirst}} {{competitor.last_name|lower|capfirst}}
      <p class="ui-li-count">{{competitor.events.all|length}}</p>
    </a></li>
  {% endfor %}
</ul>
{% endblock content %}
